package com.max.back.demo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * Doctor
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("doctor")
public class Doctor implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     *医生id
     */
    @TableId("id")
    private String id;
    /**
     *医生名
     */
    @TableField("name")
    private String name;
    /**
     *年龄
     */
    @TableField("age")
    private int age;
    /**
     *性别
     */
    @TableField("sex")
    private String sex;
    /**
     *生日
     */
    @TableField("birthday")
    private LocalDate birthday;
    /**
     *所在科室
     */
    @TableField("dept")
    private String dept;
    /**
     *手机号
     */
    @TableField("phone")
    private String phone;

}
